package com.lm.scau.dyb.utils;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

/**
 * Function:
 * auth：liming on 2016/9/5 15:09
 * mail：liming@wxchina.com
 */
public class StringUtils {
    public static String parseCn(String cn) {
        try {
            return URLEncoder.encode(cn, "utf-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return null;
    }

}
